package com.campus.shop.service;

import java.util.HashMap;
import java.util.List;

import com.campus.shop.controller.web.vo.GoodsDetailVo;
import com.campus.shop.controller.web.vo.SaleUserInfoVo;
import com.campus.shop.entity.Goods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.campus.shop.entity.GoodsCategory;

/**
 * 商品表 服务类
 */
public interface GoodsService extends IService<Goods> {

        HashMap<String, Object> pageList(Integer page, Integer cateId, String goodsName);

        List<GoodsCategory> goodCateList();

        GoodsDetailVo findGoodById(Integer goodsId);

        SaleUserInfoVo getGoodsSaleInfo(Integer userId);
}

